#pragma once
#include "afxcmn.h"

#include "../mdt_common/mdt_common.h"
#include "afxcmn.h"
#include "afxwin.h"
#include "xepdt.h"
// CdemoMonitorDlg dialog

class CdemoMonitorDlg : public CDialog
{
	DECLARE_DYNAMIC(CdemoMonitorDlg)

public:
	CdemoMonitorDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~CdemoMonitorDlg();

// Dialog Data
	enum { IDD = IDD_DIALOG1 };

protected:
	HICON m_hIcon;

	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	virtual BOOL OnInitDialog();

	DECLARE_MESSAGE_MAP()

private:
	int RosterHandler(vmdt_members& members);

public:
	CMdt_Connection* m_pConnection;
	CMonitor_Method  m_Client;

	CIPAddressCtrl m_ipServer;
	CImageList m_ImageListMdt;
	CListCtrl m_RosterList;
	afx_msg void OnBnClickedLogin();
	CString m_strLoginStatus;
	afx_msg void OnBnClickedStarttest();
	afx_msg void OnBnClickedStoptest();
	afx_msg void OnBnClickedButton1();
};
